package designpatterns.adapter.e3;
/**
 *
 * @author Smile.Wu
 * @version 2015-10-19
 */
public class Computer220V extends AbstractComputer implements Computer {
	//目标电压是220V的电脑
	private int startUpVoltage = 220;
	@Override
	public boolean startUp() {
		System.out.println("computer[voltage=220V] is starting!!");
		System.out.println("[BIOS]check CPU......");
		System.out.println("[BIOS]check Disk......");
		System.out.println("[BIOS]check Software......");
		System.out.println("[BIOS]check Memory......");
		
		
		return true;
	}
	@Override
	public int getTargetVoltage() {
		return startUpVoltage;
	}

}
